package cupk.abner.ConcreteComponent;

import cupk.abner.Component;
import cupk.abner.Mediator;

public class ComboBox extends Component {
    public void select(){
        System.out.println("组合框选中项");
        changed();
    }
    @Override
    public void setMediator(Mediator mediator) {
        this.mediator = mediator;
    }

    @Override
    public void changed() {

    }

    @Override
    public void update() {
        System.out.println("组合框更新");
    }
}
